[INFO] cloning repository https://github.com/vitvakatu/ruoscript
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitvakatu/ruoscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fruoscript", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fruoscript'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 57a68ab890814bbe1941ba47b677d7f31e8174c6
[INFO] building vitvakatu/ruoscript against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fruoscript" "/workspace/builds/worker-15/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/vitvakatu/ruoscript on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/vitvakatu/ruoscript
[INFO] finished tweaking git repo https://github.com/vitvakatu/ruoscript
[INFO] tweaked toml for git repo https://github.com/vitvakatu/ruoscript written to /workspace/builds/worker-15/source/Cargo.toml
[INFO] crate git repo https://github.com/vitvakatu/ruoscript already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5ad073f1491b7def3ed126a45ae848119b4680f3349b8a640840be0e1cc8fb36
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5ad073f1491b7def3ed126a45ae848119b4680f3349b8a640840be0e1cc8fb36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ad073f1491b7def3ed126a45ae848119b4680f3349b8a640840be0e1cc8fb36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ad073f1491b7def3ed126a45ae848119b4680f3349b8a640840be0e1cc8fb36", kill_on_drop: false }`
[INFO] [stdout] 5ad073f1491b7def3ed126a45ae848119b4680f3349b8a640840be0e1cc8fb36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4ed72c067951483a940ae5b56fc68e92fe9fe7b5385aecbfae8cb203d5062c8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c4ed72c067951483a940ae5b56fc68e92fe9fe7b5385aecbfae8cb203d5062c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.1.4
[INFO] [stderr]    Compiling libc v0.2.43
[INFO] [stderr]    Compiling cfg-if v0.1.5
[INFO] [stderr]    Compiling proc-macro2 v0.4.19
[INFO] [stderr]    Compiling regex v1.0.5
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling utf8-ranges v1.0.1
[INFO] [stderr]    Compiling cc v1.0.25
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]    Compiling failure_derive v0.1.2
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.9
[INFO] [stderr]    Compiling termcolor v1.0.4
[INFO] [stderr]    Compiling log v0.4.5
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling regex-syntax v0.6.2
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling memchr v2.1.0
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling aho-corasick v0.6.8
[INFO] [stderr]    Compiling quote v0.6.8
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]    Compiling backtrace-sys v0.1.24
[INFO] [stderr]    Compiling backtrace v0.3.9
[INFO] [stderr]    Compiling synstructure v0.9.0
[INFO] [stderr]    Compiling env_logger v0.5.13
[INFO] [stderr]    Compiling llvm-sys v70.0.0
[INFO] [stderr]    Compiling failure v0.1.2
[INFO] [stderr]    Compiling ruoscript v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected token: `)`
[INFO] [stdout]   --> src/codegen/mod.rs:96:90
[INFO] [stdout]    |
[INFO] [stdout] 96 |                 for (arg, arg_name) in params.iter().zip(proto.args.iter()).zip(proto.ty.) {
[INFO] [stdout]    |                                                                                          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `context`
[INFO] [stdout]   --> src/codegen/mod.rs:97:79
[INFO] [stdout]    |
[INFO] [stdout] 97 |                     let allocated_value = core::LLVMBuildAlloca(ctx.builder, )
[INFO] [stdout]    |                                                                               ^ help: add `;` here
[INFO] [stdout] 98 |                     context
[INFO] [stdout]    |                     ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope
[INFO] [stdout]   --> src/codegen/mod.rs:97:65
[INFO] [stdout]    |
[INFO] [stdout] 97 |                     let allocated_value = core::LLVMBuildAlloca(ctx.builder, )
[INFO] [stdout]    |                                                                 ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/codegen/mod.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TYPE_VOID`
[INFO] [stdout]  --> src/codegen/mod.rs:7:48
[INFO] [stdout]   |
[INFO] [stdout] 7 | use types::{TypedExpr, TYPE_ANY, TYPE_INTEGER, TYPE_VOID};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parser::ast::Expr`
[INFO] [stdout]  --> src/codegen/any.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use parser::ast::Expr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/codegen/any.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TYPE_ANY`, `TYPE_INTEGER`
[INFO] [stdout]  --> src/codegen/any.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use types::{TYPE_ANY, TYPE_INTEGER};
[INFO] [stdout]   |             ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `failure::Error`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use failure::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/types.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `types::FunctionType` is not an iterator
[INFO] [stdout]   --> src/codegen/mod.rs:96:81
[INFO] [stdout]    |
[INFO] [stdout] 96 |                 for (arg, arg_name) in params.iter().zip(proto.args.iter()).zip(proto.ty.) {
[INFO] [stdout]    |                                                                                 ^^^^^^^^ `types::FunctionType` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Iterator` is not implemented for `types::FunctionType`
[INFO] [stdout]    = note: required because of the requirements on the impl of `IntoIterator` for `types::FunctionType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `types::FunctionType` is not an iterator
[INFO] [stdout]   --> src/codegen/mod.rs:96:40
[INFO] [stdout]    |
[INFO] [stdout] 96 |                 for (arg, arg_name) in params.iter().zip(proto.args.iter()).zip(proto.ty.) {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `types::FunctionType` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Iterator` is not implemented for `types::FunctionType`
[INFO] [stdout]    = note: required because of the requirements on the impl of `Iterator` for `Zip<Zip<std::slice::Iter<'_, *mut LLVMValue>, std::slice::Iter<'_, String>>, types::FunctionType>`
[INFO] [stdout]    = note: required because of the requirements on the impl of `IntoIterator` for `Zip<Zip<std::slice::Iter<'_, *mut LLVMValue>, std::slice::Iter<'_, String>>, types::FunctionType>`
[INFO] [stdout]    = note: required by `into_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied
[INFO] [stdout]     --> src/codegen/mod.rs:97:43
[INFO] [stdout]      |
[INFO] [stdout] 97   |                     let allocated_value = core::LLVMBuildAlloca(ctx.builder, )
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^^^^^ ----------- supplied 1 argument
[INFO] [stdout]      |                                           |
[INFO] [stdout]      |                                           expected 3 arguments
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/llvm-sys-70.0.0/src/core.rs:1212:12
[INFO] [stdout]      |
[INFO] [stdout] 1212 |     pub fn LLVMBuildAlloca(arg1: LLVMBuilderRef,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/codegen/mod.rs:100:52
[INFO] [stdout]     |
[INFO] [stdout] 100 |                         .insert(arg_name.clone(), (arg.clone(), TYPE_ANY.to_string()));
[INFO] [stdout]     |                                                    ^^^^^^^^^^^ expected *-ptr, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*mut LLVMValue`
[INFO] [stdout]                      found tuple `(&*mut LLVMValue, &String)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parser/mod.rs:374:29
[INFO] [stdout]     |
[INFO] [stdout] 374 |                           ty: Some(FunctionType {
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 375 | |                             args: vec![],
[INFO] [stdout] 376 | |                             ret: ty,
[INFO] [stdout] 377 | |                         }),
[INFO] [stdout]     | |__________________________^ expected struct `types::FunctionType`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `types::FunctionType`
[INFO] [stdout]                  found enum `Option<types::FunctionType>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parser/mod.rs:410:25
[INFO] [stdout]     |
[INFO] [stdout] 410 |                       ty: Some(FunctionType {
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 411 | |                         args: arg_types,
[INFO] [stdout] 412 | |                         ret: ty,
[INFO] [stdout] 413 | |                     }),
[INFO] [stdout]     | |______________________^ expected struct `types::FunctionType`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `types::FunctionType`
[INFO] [stdout]                  found enum `Option<types::FunctionType>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ruoscript`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "c4ed72c067951483a940ae5b56fc68e92fe9fe7b5385aecbfae8cb203d5062c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4ed72c067951483a940ae5b56fc68e92fe9fe7b5385aecbfae8cb203d5062c8", kill_on_drop: false }`
[INFO] [stdout] c4ed72c067951483a940ae5b56fc68e92fe9fe7b5385aecbfae8cb203d5062c8
